import request from '@/utils/request'

// 查询客户报价库Plus列表
export function listKhbjkPlus(query) {
  return request({
    url: '/gd/khbjkPlus/list',
    method: 'get',
    params: query
  })
}

// 查询客户报价库Plus详细
export function getKhbjkPlus(id) {
  return request({
    url: '/gd/khbjkPlus/' + id,
    method: 'get'
  })
}

// 新增客户报价库Plus
export function addKhbjkPlus(data) {
  return request({
    url: '/gd/khbjkPlus',
    method: 'post',
    data: data
  })
}

// 修改客户报价库Plus
export function updateKhbjkPlus(data) {
  return request({
    url: '/gd/khbjkPlus',
    method: 'put',
    data: data
  })
}

// 删除客户报价库Plus
export function delKhbjkPlus(id) {
  return request({
    url: '/gd/khbjkPlus/' + id,
    method: 'delete'
  })
}

export function importData() {
  return request({
    url: '/gd/khbjkPlus/importData',
    method: 'get'
  })
}
